package com.mdd.common.wechat.utils;

public class WxConstants {
    /**
     * 统一下单地址
     */
    public static String unified_order = "https://api.mch.weixin.qq.com/pay/unifiedorder";

    /**
     * 统一下单 关闭订单
     */
    public static String unified_order_close = "https://api.mch.weixin.qq.com/pay/closeorder";

    /**
     * 微信客户端授权地址
     */
    public static final String get_client_access_token_url = "https://api.weixin.qq.com/cgi-bin/token" + "?appid=%s" + "&secret=%s" + "&grant_type=client_credential";

    /**
     * 创建直播间
     */
    public static final String post_create_room = "https://api.weixin.qq.com/wxaapi/broadcast/room/create?access_token=%s";

    /**
     * 获取直播间列表和回放
     */
    public static final String post_get_live_info = "https://api.weixin.qq.com/wxa/business/getliveinfo?access_token=%s";

    /**
     * 删除直播间
     */
    public static final String post_delete_room = "https://api.weixin.qq.com/wxaapi/broadcast/room/deleteroom?access_token=%s";


    /**
     * 编辑直播间
     */
    public static final String post_edit_room = "https://api.weixin.qq.com/wxaapi/broadcast/room/editroom?access_token=%s";


    /**
     * 获取直播间推流地址
     */
    public static final String post_get_push_url = "https://api.weixin.qq.com/wxaapi/broadcast/room/getpushurl?access_token=%s";

    /**
     * 获取直播间分享二维码
     */
    public static final String get_shared_code = "https://api.weixin.qq.com/wxaapi/broadcast/room/getsharedcode?access_token=%s";

    /**
     * 生成二维码
     * 接口强制校验来源IP
     */
    public static final String get_unlimited_qr_code = "https://api.weixin.qq.com/wxa/getwxacodeunlimit?access_token=%s";

    /**
     * 获取小程序码 最多100000 个
     */
    public static final String get_qr_code = "https://api.weixin.qq.com/wxa/getwxacode?access_token=%s";


}
